$OpenBSD: patch-src_openssl_c,v 1.7 2014/04/19 12:14:15 sthen Exp $
--- a/src/openssl.c	Sat Apr 19 06:12:48 2014
+++ b/src/openssl.c	Sat Apr 19 06:13:18 2014
@@ -86,9 +86,11 @@ init_prng (void)
   if (RAND_status ())
     return;
 
+#ifdef HAVE_SSL_RAND_EGD
   /* Get random data from EGD if opt.egd_file was used.  */
   if (opt.egd_file && *opt.egd_file)
     RAND_egd (opt.egd_file);
+#endif
 
   if (RAND_status ())
     return;
